package com.example.elspring;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ljw
 * @definition
 * @date 2021/7/29 7:39
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "book")
public class BookConf {
    private String author;
    private String name;
}
